<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>



<html>
  <head>
   
    
    <title></title>
    
	<link href = "css/bootstrap.css" rel = "stylesheet" type = "text/css"/>
  </head>
  
  <body>
 			<div class="navbar">
				<div class="navbar-inner">
					<div class="container" style="width: auto;">
						<a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						</a>
						<a class="brand" href="#">品竹缘健康生活管</a>
						<div class="nav-collapse">
							<ul class="nav">
								<li class="active">
								<a href="#">编辑页</a>
								</li>
								
								
								
								
				
							</ul>
				
						</div>
					</div>
				</div>
			</div>
		<form class ="form-horizontal" action="sales.jspx?task=edit" method="post">	
			<fieldset>
				<legend>编辑销售记录</legend>
				<input type="hidden" name="id" value="${sales.id }"/>
				<div class="control-group">
					<label class="control-label" for="input01">日期</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="time" value="${sales.time}"/>
					
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">单位</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="companyname" value="${sales.company.name}"/>
					
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">导游</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="guidename" value="${sales.guide.guidename}"/>
					
					</div>
				</div>
				
				<div class="control-group">
					<label class="control-label" for="input01">电话</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="tel" value="${sales.guide.tel}"/>
					
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">人数</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="peoplenum" value="${sales.peoplenum}"/>
					
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">客源地</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="address" value="${sales.address}"/>
					
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">销售额</label>
					<div class="controls">
					<input id="input01" class="input-xlarge" type="text" name="money" value="${sales.money}"/>
					
					</div>
				</div>
				<div class="form-actions">
					
					<button class="btn">取消</button>
					<button class="btn btn-primary" type="submit">保存</button>
				</div>
			</fieldset>
		</form>
  </body>
  
</html>
